//      staticentity.cpp
//      
//      Copyright 2009 Víctor <kanito@kanito>
//      
//      This program is free software; you can redistribute it and/or modify
//      it under the terms of the GNU General Public License as published by
//      the Free Software Foundation; either version 2 of the License, or
//      (at your option) any later version.
//      
//      This program is distributed in the hope that it will be useful,
//      but WITHOUT ANY WARRANTY; without even the implied warranty of
//      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//      GNU General Public License for more details.
//      
//      You should have received a copy of the GNU General Public License
//      along with this program; if not, write to the Free Software
//      Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
//      MA 02110-1301, USA.


#include "staticentity.h"


StaticEntity::StaticEntity()
	: Entity()
{
	
}


StaticEntity::~StaticEntity()
{
	
}

bool StaticEntity::init()
{
	
	return true;
}

void StaticEntity::draw()
{
	//~ float *scale;
	//~ scale=Entity::getScale();
	//~ m_texture->bind();
	//~ 
	//~ glColor3fv(Entity::getColor());
		//~ 
	//~ glPushMatrix();
	//~ glLoadIdentity();
	//~ glTranslatef(getX(),getY(), 0);
	//~ 
	//~ glEnable( GL_BLEND );
	//~ glEnable(GL_BLEND); //Enable alpha blending
	//~ glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); //Set the blend function
	//~ 
	//~ glScalef(getFlippedValue(), 1.0, 1.0);
//~ 
    //~ glBegin(GL_QUADS);
      //~ glTexCoord2f(m_coord_colum,m_coord_row);   
	  //~ glVertex2f(-(m_frame_width/2)*scale[0],-(m_frame_height/2)*scale[1]);  
	  //~ 
      //~ glTexCoord2f((m_coord_colum+m_frame_colum_size),  m_coord_row);   
	  //~ glVertex2f((m_frame_width/2)*scale[0],-(m_frame_height/2)*scale[1]);  
	  //~ 
      //~ glTexCoord2f((m_coord_colum+m_frame_colum_size), (m_coord_row+m_frame_row_size));   
	  //~ glVertex2f((m_frame_width/2)*scale[0],(m_frame_height/2)*scale[1]);  
	  //~ 
      //~ glTexCoord2f(m_coord_colum,m_coord_row);   
	  //~ glVertex2f(-(m_frame_width/2)*scale[0],(m_frame_height/2)*scale[1]);  
      //~ 
    //~ glEnd();
	
	//~ glPopMatrix();
	
}

void StaticEntity::update()
{}

void StaticEntity::freeMemory()
{}		


